package com.woniu.microprojectserver.bean;

import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author ：pengchufeng
 * @date ：Created in 2021/1/30
 * @description：树形数据类
 */
@Data
public class TreeData implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private String label;

    private Long floor = 0L;

    private boolean isSpace = false;

    private Long rank = 1L;

    private Long fkBuildId = 1L;

    private Long higherId = 0L;

    private List<TreeData> children = new ArrayList<>();

    //方法需要调用的属性
    private boolean isR1 = false;


}
